//
//  NCPZhongHuaXianLabel.m
//  西楚网
//
//  Created by 徐汉卿 on 16/6/23.
//  Copyright © 2016年 徐汉卿. All rights reserved.
//

#import "XHQZhongHuaXianLabel.h"

@implementation XHQZhongHuaXianLabel

-(void)setText:(NSString *)text
{
    NSDictionary *attrDict = [NSDictionary dictionaryWithObjectsAndKeys:
                              
                            
                              [NSNumber numberWithInteger:NSUnderlineStyleSingle],   NSStrikethroughStyleAttributeName, nil];
    
    NSMutableAttributedString *attrStr = [[NSMutableAttributedString alloc] initWithString:text     attributes:attrDict];
    self.attributedText = attrStr;

}

@end
